<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">

<title></title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">

<link rel="stylesheet" type="text/css" href="../css/edittable.css"  ></link>  
<link rel="stylesheet" type="text/css" href="../css/validate.css"  ></link>  
<script type="text/javascript"  src="../js/jquery-1.8.0.js"></script>

</head>

<body>
	<div class ="div_title">
		 <div class="div_titlename"><span>信息修改</span></div>
	 </div>
				 
	 <form action="AdminServlet.do?flag=update" method="post"  onsubmit="return validateInput()">
	 	<input type="hidden" name="id" value="${adminInfo.id}" />
		 <table class="edit_table" >
		 		<tr>
		 			 	<td class="td_info">用户账号:</td>	
		 			 	<td class="td_input_short"> 
		 			 		<input type="text" class="txtbox" id="adminName" name="adminName"  readonly="readonly" value="${adminInfo.adminName}"/> 
		 			 	</td>   
		 			 	<td>
		 			 		<label class="validate_info">用户账号不可以修改</label>
		 			 	</td> 

		 		<tr>
		 			<td class="td_info">备注信息:</td>	
		 			<td><textarea rows="4" cols="27" name="note" class="txtarea">${adminInfo.note}</textarea> </td>	
		 			<td></td>	
		 		</tr>
		 		<tr>
		 			<td class="td_info"> </td>	
		 			<td> 
		 			<input class="form_btn" type="submit" value="提交" />
		 			<td>
		 				<label id="result_msg" class="result_msg">${msg}</label>
		 			</td>	
		 		</tr>
		</table>
	
     </form>
     <script>
			function validateInput(){
				var l=confirm("确认修改吗");
				if(l){
					return true;
				}else{
					return false;
				}
			}
		</script>
</body>
</html>